/*
 * Ellipse.h
 *
 *  Created on: 2010-9-4
 *      Author: try
 */

#ifndef ELLIPSE_H_
#define ELLIPSE_H_

#include "Shape.h"

using namespace Ed;
namespace S {
  class WorkLayer;

  /**
   * 椭圆
   */
  class Ellipse: public Shape {
    public:
      Ellipse(real x, real y, real w, real h);
      virtual ~Ellipse();

      /**
       * 构建路径
       */
      void createPath();

      /**
       * 绘制此元素
       */
      void draw(Gdiplus::Graphics* g);

    protected:

  };
}
#endif /* ELLIPSE_H_ */
